#!/bin/sh

mx_interp -v << EOF

open d any 3 0x4321
target t $(hostname):0 0 3 0x4321

open s1 any 1 0x1234
send sr10 s1 t 16 0 0x123 1
recv rr10 d 16 0 0x123 none 1
test rr10
close s1
sleep 5

open s2 any 1 0x2234
recv rr20 d 16 0 0x223 none 1
send sr20 s2 t 16 0 0x223 1
test rr20
close s2

close d

EOF
